<template>
	
	<view class="content">
		 <u-section title="商标类别" line-color="red" sub-title="如何选择"></u-section>
		 <u-line color="#ccc" border-style="dotted" margin="10px 0px"/>
		 
		 
		 <u-cell-item  title="选择类型" :arrow="false" @click="sbtype">
			 <block slot="right-icon">
			 	<u-icon name="plus" color="#888888" size="28"></u-icon>
			 </block>
		 </u-cell-item>
		 
		 <u-cell-item  
		 
		 v-for="(item,index) in first_total"
		 :key="index"
		 :title="item.first_title" 
		 :arrow="false" 
		 :label="'已选择'+item.num+'小类'" 
		 :value="'￥'+item.price"
		 :value-style="valuestyle"
		 @click="list1(item.first)"
		 
		 >
		 				
		 </u-cell-item>
	
		 
		 
	</view>
	
</template>

<script>
	import {mapState,mapGetters} from "vuex"
	export default {
		props: {
			
		},
		computed:{
			...mapGetters(["first_total"])
		},
		methods:{
			list1(id) {
				this.$u.route({
					url: 'pages/sb/list1',
					params: {
						pid: id
					}
				})
			},
			sbtype(){
				uni.navigateTo({
					url:"/pages/sb/list"
				})
			}
		}
	}
</script>

<style>
</style>
